package Lambda;

public class Lambda_study2 {
    public static void main(String[] args) {
        Calc(10,20,(int a,int b)->
        {
            return a+b;
        });
    }
    public static void Calc(int a,int b,Calculator ca)
    {
        System.out.println(ca.calc(a,b));
    }
}
